WPForms\Db\Payments\Payment S

Total Complexity 40
Dependencies 1
Dependents 0
Total lines 472
Lines of code 220
Logical lines of code 87
Comment lines 177
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
add_columns_where_conditions()
A
47 9 36
update()
S
62 5 10
get_payments()
S
55 3 17
add()
S
67 4 7
current_user_can()
S
63 4 10
create_table()
S
52 1 37
add_secondary_where_conditions()
S
56 2 19
get()
S
70 3 6
delete()
S
66 3 8
sanitize_get_payments_args()
S
59 2 15
get_columns()
S
54 1 23
get_column_defaults()
S
54 1 23
__construct()
S
73 1 5
get_table_name()
S
76 1 4